//
//  HLBaseViewController.swift
//  HLXiMaLaYa
//
//  Created by hulinhu on 2018/1/9.
//  Copyright © 2018年 hulinhu. All rights reserved.
//

import UIKit

class HLBaseViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = kThemeGainsboroColor
    }
    
    deinit {
        NSLog("deinit: \(type(of: self))")
    }
}

// MARK:- 事件 (部分页面失效)
extension HLNavigationViewController {
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        super.touchesBegan(touches, with: event)
        // 注销 键盘
        view.endEditing(true)
    }
}

